const zhx_tools = require('./zhx-tools');

const re1 = zhx_tools.dateFormat(new Date());
console.log(re1);

const htmlStr = '<h1 title = "abc">这是h1标签<span>123&nbsp;</span></h1>';
const re2 = zhx_tools.htmlEscape(htmlStr);
console.log(re2);

const re3 = zhx_tools.unhtmlEscape(re2);
console.log(re3);